#ifndef CURVE_H
#define CURVE_H

#include <QDialog>
#include <QPaintEvent>

namespace Ui {
class Curve;
}

class Curve : public QDialog
{
    Q_OBJECT

public:
    explicit Curve(QByteArray data,QWidget *parent = 0);
    ~Curve();

private:
    void initialize();
    void paintEvent(QPaintEvent*);

private:
    Ui::Curve *ui;
    QByteArray dat;
};

#endif // CURVE_H
